package com.his.back.service;

import com.his.back.pojo.*;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public interface ReceptionService {
    public int addMember(member m);



    int registerInvoice(invoice inv);

    ExMember findExMember(String patientId);


    int pushPatient(String patientId);



    int insertPatiPro( patient_project pp);//把退号加入项目
    int deletePatiPro(patient_projectKey ppk);

    List<ExPatientProject> findExPatiPro(String patientId,Integer stateId);
    List<ExPatientDrug> findExPatiDrug(String patientId,Integer stateId);



    int updatePatiPro(patient_project pp);
    int updatePatiDrug(ExPatientDrug EPD);


    List<RelatedInvoice> findRelatedInvoice(String patientId);

    List<ExPatientProject> findProDetail(String invoiceId);

    List<ExPatientDrug> findDrugDetail(String invoiceId);

    int updateInvoice(invoice invoice);

    List<ExPatientDrug> findDrugCost(String patientId, Date startTime, Date endTime);

    List<ExPatientProject> findProCost(String patientId,Date startTime, Date endTime);

    List<department> findDept();
}
